package com.fx.student.dto;

import com.fx.demo.common.resulUtils.BaseEntity;

/**
 * 学生类高级查询参数封装类
 */
public class StudentDto extends BaseEntity {
    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;
    /**
     * 起始页
     */
    private int start;
    /**
     * 每页长度
     */
    private int pageSize;

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public StudentDto(int start, int pageSize) {
        this.start = start;
        this.pageSize = pageSize;
    }
}